package com.softa.service.business;

import com.github.pagehelper.PageInfo;
import com.softa.dao.dto.OrderDTO;
import com.softa.dao.model.ProductType;
import com.softa.vo.DataGridRequest;
import com.softa.vo.QueryRequest;

import java.util.List;

public interface OrderService {

   PageInfo<OrderDTO> queryProductTypeByParam(DataGridRequest request, final QueryRequest queryRequest);

   String createOrder(OrderDTO orderDTO);

   int getTryNumByUserAndProduct(OrderDTO orderDTO);

   List<OrderDTO> queryOrdersByParam(QueryRequest queryRequest);

}
